event processing explained